Triangle In Triangle

worksheet values

(move the blue point)

(move the blue point)

var_1 = 5 (slider from 0 to 20, step 1)
var_2 = 3 (slider from 0 to 20, step 1)
C = Point(yAxis)
A = Intersect(xAxis, yAxis)
B = Point(xAxis)
c = Circle(B, var_2)
D = Intersect(c, xAxis, 1)
d = Circle(C, var_1)
E, F = Intersect(d, yAxis)
f = Segment(C, B)
g = OrthogonalLine(D, xAxis)
G = Intersect(g, f)
h = Segment(E, G)
i = Segment(E, B)
j = Segment(G, D)
t1, g_1, e, b = Polygon(E, B, G)
t2, g_2, e_1, b_1 = Polygon(E, B, G)
t3, c_1, a, b_2 = Polygon(A, B, C)
distanceCg1 = Distance(C, g_1)
TextCg1: " " + distanceCg1 + ""
distanceBj = Distance(B, j)
TextBj: " " + distanceBj + ""
distanceAE = Distance(A, E)
distanceAD = Distance(A, D)
TextAE: " " + distanceAE + ""
TextAD: " " + distanceAD + ""
text2: "Yellow area = " + t2 + ""